package com.es.service.impl;

import com.es.dao.StudentDao;
import com.es.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;


@Service("studentService")
public class StudentServiceImpl implements StudentService {

    @Autowired
    @Qualifier("studentDaoMybatisImpl")
    StudentDao studentDao;//

    @Override
    public void save() {
        System.out.println("我是studentService，进行数据的处理");
        studentDao.save();;
    }

}
